package summer_vacation.xuejiahua;

import java.util.Scanner;

/**输入某正整形数，显示它的所有因子
 * Created by Administrator on 2015/8/24.
 */
public class java_13 {

    public static void main(String[]args){

        Scanner  in = new Scanner(System.in);

        int a = in.nextInt();

        System.out.print(a+"的所有因子是：");

        for(int i = 1;i<=a;i++){

            if(a%i==0){
            System.out.print(i+" ");
        }
    }
}

}
